package com.neudu.yiyang.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.neudu.yiyang.pojo.Bed;
import com.neudu.yiyang.service.BedService;
import com.neudu.yiyang.mapper.BedMapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
* @author 16462
* @description 针对表【bed】的数据库操作Service实现
* @createDate 2025-03-31 21:56:23
*/
@Service
public class BedServiceImpl extends ServiceImpl<BedMapper, Bed>
    implements BedService{

    @Autowired
    private BedMapper bedMapper;


    @Override
    public List<Bed> getCustomerData(Integer id) {
        return bedMapper.getCustomerData(id);
    }

    @Override
    public List<Bed> getBedDesignByConditions(Map<String, Object> queryParams) {
        return bedMapper.getByConditions(queryParams);
    }

}




